<?php
    session_start();
?>

<html>
    
    <head>
        <title>PHP Project</title>
        <meta http-equiv="content-type" content="text/html; charset = utf-8" />
        <link rel="stylesheet" type="text/css" href="style.css" />
        <script language = "javascrip" type="text/javascript">
            function checkinput(){
                var ten = document.getElementById("idnhanvien").value;
                var pass = document.getElementById("pass").value;
                if(idnhanvien=="" || pass==""){
                    alert('Bạn hãy nhập đầy đủ thông tin để đăng nhập.');
                    return false;
                }
                return true;
            }
        </script>
    </head>
    
    <body>
        <div id="wrap">
            <?php
                //session_start();
				include "include/header2.php";
			?>
            
            
        <div id="content">
            <div id="colleftindex">
                <img src="images/dev.png" />
            </div><!--end colleft-->
            
            <div id="colrightindex">

                <div class="statusindex">
                <p> <?php echo $_SESSION['thongbao']; unset ($_SESSION['thongbao']);  ?></p>

                </div>
                
                <?php
                    
                    include "include/mod_noidung.php";
                    unset ($_SESSION['userlogin']);
                    session_destroy();
                ?>                
            </div><!--end colright-->            
            <div class="clear"></div>
        </div><!--end contend-->
        
        <?php
			include "include/footer.php";
		?>
        </div><!--end wrap-->
    </body>
</html>